package com.exchange.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 董慧珍
 * @Date 2024/05/10
 * @Version 1.0
 **/
@Data
public class ManagerPowerVo implements Serializable {
    /**
     * 电柜表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属电柜
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 电柜编号
     */
    @TableField(value = "pname")
    private String pname;
    private String address;

    /**
     * 0：正常1：损坏
     */
    @TableField(value = "status")
    private Integer status;
    @TableField(value = "mid")
    private Long mid;
    /**
     * 电站名称
     * */
    @TableField(value = "power_name")
    private String powerName;
    /**
     * 该位置存在的电柜数量
     */
    @TableField(value = "count")
    private Integer count;

    /**
     *
     */
    @TableField(value = "remark")
    private Long remark;
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
